<?php include_once './application/views/sys_admin/common/header.php';  ?>
<div class=" definewidth m20">
	<form class="form-inline definewidth m20">
		<button  type="button" class="btn btn-success"  onclick="href('/sys_admin/msgonline/add_zhs_letter_view/');" >发送站内信</button>
	</form>
	<table class="table table-bordered table-hover definewidth m10">
		 <thead>
		    <tr>
		        <th><strong>序号</strong></th>
				<th><strong>发件人</strong></th>
				<th><strong>站内信模板</strong></th>
				<th><strong>收件人</strong></th>
				<th><strong>标题</strong></th>
		    </tr>
		 </thead>
		     <?php foreach($article_list as $key=>$article){?>
			  <tr id="row_<?php echo $message['id'];?>">
				<td><?php echo $message['id'];?></td>
				<td><?php echo $message['sent_user'];?></td>
				<td><?php echo $msgtemplets[$message['message_type']];?></td>
				<td><?php echo $message['receive_user'];?></td>
				<td><?php echo $message['title'];?></td>
			  </tr>
		  <?php }?>
		  	<tr>
		  	<td colspan="5"  class="page"><?php echo $this->pagination->create_links();?></td>
		  	</tr>
	</table>
</div>
<div id="dialog" title="系统提示" style="display:none"><p id="msg" style="text-align:center"></p></div>
